package zhongbo.java.air.monitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import zhongbo.java.air.monitor.model.AirAlertLog;
import zhongbo.java.air.monitor.model.dto.AlertZoneDto;

import java.util.List;

@Mapper
public interface AirAlertLogMapper extends BaseMapper<AirAlertLog> {


    @Select("select * from air_alert_zone")
    List<AlertZoneDto> getAirAlertZoneSize();
}
